home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_11_08
/
hellquis
/
profiles.h
< prev
next >
Wrap
Text File
|
1993-01-22
|
758b
|
30 lines
// profiles.h -- implementation of windows profile routines
// 930124 , (c) 1993, Gunnar Hellquist, Stockholm
typedef char * LPSTR;
typedef unsigned int WORD ;
typedef int BOOL ;
#define MAXWORD 65535l
#define MAXINTLEN 7
#define MAXLINELEN 256
//--- define SEARCHPATH if awailable (in Borland C++)
#define SEARCHPATH
int GetPrivateProfileString( LPSTR lpApplicationName,
LPSTR lpKeyName, LPSTR lpDefault,
LPSTR lpReturnedString, int nSize,
LPSTR lpFileName) ;
WORD GetPrivateProfileInt (LPSTR lpApplicationName,
LPSTR lpKeyName, int nDefault,
LPSTR lpFileName);
BOOL WritePrivateProfileString ( LPSTR lpApplicationName,
LPSTR lpKeyName, LPSTR lpString,
LPSTR lpFileName);
//-- end of profiles.h